var e = require;
var t = module;
var n = i(e("DataMgr")),
o = i(e("SoundMgr"));
function i(e) {
    return e && e.__esModule ? e: {
        default: e
    }
}
cc.Class({
    extends: cc.Component,
    onEnable: function() {
        SDK.Base.Event.emit("PanelOpen")
    },
    onRestartGameButtonDown: function() {
        o.default.Instance.playSoundClip(AssetManager.Instance.AudioClips[0]);
        n.default.isRestart = !0;
        this.reLoadGame()
    },
    reLoadGame: function() {
        SDK.Base.Event.emit("PanelClose");
        cc.director.loadScene("GameScene")
    }
})